package com.pzhu.pojo;

import java.util.Date;

public class User {

    private long id;
    // 用户名
    //    不超过20个汉字
    private String name;
    // 账户
    private long account;
    // 密码
    //    20个字符
    private String password;
    // 出生日期 --年龄
    private Date birthday;
    // 二级学院
    private String academy;
    // 性别
    private boolean sex;
    // 入学时间 --年级
    private Date enrollment;
    // 班级
    private String Classes;
    // 专业
    private String profession;

    public User() {

    }
    public User(long id) {
        this.id = id;
    }
    public User(long account, String password) {
        this.account = account;
        this.password = password;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getAccount() {
        return account;
    }

    public void setAccount(long account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getAcademy() {
        return academy;
    }

    public void setAcademy(String academy) {
        this.academy = academy;
    }

    public boolean isSex() {
        return sex;
    }

    public void setSex(boolean sex) {
        this.sex = sex;
    }

    public Date getEnrollment() {
        return enrollment;
    }

    public void setEnrollment(Date enrollment) {
        this.enrollment = enrollment;
    }

    public String getClasses() {
        return Classes;
    }

    public void setClasses(String classes) {
        Classes = classes;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }
}
